package org.gy.T3.c;

public class Student {
    double score;
    //类⽅法：
    public static void printHelloWorld(){
        System.out.println("Hello World!");
        System.out.println("Hello World!");
    }
    //实例⽅法（对象的⽅法）
    public void printPass(){
//打印成绩是否合格
        System.out.println(score>=60?"成绩合格":"成绩不合格");
    }
}
